package net.dntuan.training.mvc.dao;

import java.io.Serializable;
import java.util.List;

public interface BaseDao<T extends Serializable> {

    public T findOne(final Long id);

    public List<T> findAll();

    public void save(final T entity);

    public void update(final T entity);

    public void delete(T entity);

}